project(dgmres LANGUAGES Fortran)

file(GLOB_RECURSE gmres_srcs *.f *.f90)

# message(dgmres, ${gmres_srcs})
add_library(${PROJECT_NAME} STATIC ${gmres_srcs})
target_link_directories(${PROJECT_NAME} PUBLIC "${PROJECT_SOURCE_DIR}/lib")
target_link_libraries(${PROJECT_NAME} PUBLIC "liblapack.a" "libblas.a")